/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.util.Date;

/**
 *
 * @author Kien Chinh
 */
public class LeaveDetail {
    private int LeaveDetailID;
    private Date startLeave;
    private Date finishLeave;
    private LeaveType type;
    private int status;
    private String reson;
    private String cause;
    
    public int getStatus() {
        return status;
    }

    public String getReson() {
        return reson;
    }

    public void setReson(String reson) {
        this.reson = reson;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getLeaveDetailID() {
        return LeaveDetailID;
    }

    public void setLeaveDetailID(int LeaveDetailID) {
        this.LeaveDetailID = LeaveDetailID;
    }

    public Date getStartLeave() {
        return startLeave;
    }

    public void setStartLeave(Date startLeave) {
        this.startLeave = startLeave;
    }

    public Date getFinishLeave() {
        return finishLeave;
    }

    public void setFinishLeave(Date finishLeave) {
        this.finishLeave = finishLeave;
    }
    
    public LeaveType getType() {
        return type;
    }

    public void setType(LeaveType type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "LeaveDetail{" + "LeaveDetailID=" + LeaveDetailID + ", startLeave=" + startLeave + ", finishLeave=" + finishLeave + ", type=" + type + ", status=" + status + ", reson=" + reson + ", cause=" + cause + '}';
    }
}
